The phrase "to stay out of" means to avoid or prevent something from happening. It is often used in the context of giving advice, where one person tells another what they should do to keep themselves safe or healthy. For example, if someone says "You should stay out of the sun between 10am and 2pm," it means that you should avoid going outside during those hours because the rays from the sun are strongest then and can cause damage to your skin.